import ArkIconFont from "../ark-iconfont/ArkIconFont.vue";

export default {
  title: 'ark-component-v2/ArkIconFont',
  component: ArkIconFont,
  parameters: {
    docs: {
      description: {
        component: `请配合 <span style="font-weight: bold;font-size: 14px;color: grey">vue3、iconfont</span> 使用`
      }
    }
  },
  argTypes: {
    family: {description: 'Font Family'},
    icon: {description: '图标类名'},
  }
};

export const Basic = {
  name: '基本使用',
  render: (args) => ({
    components: {ArkIconFont},
    setup() {
      return {args};
    },
    template: '<ArkIconFont v-bind="args"/>',
  }),
  args: {
    icon: 'icon-xiaolian',
  },
};